<%--
  Created by IntelliJ IDEA.
  User: gu
  Date: 2021/7/12
  Time: 9:06 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>功能列表</title>
    <!-- CSS -->
    <link rel="stylesheet" href="${mybasePath}assets/bootstrap/css/bootstrap.min.css">
    <jsp:include page="../include/headtag.jsp" />
    <!-- <link rel="stylesheet"
        href="http://fonts.googleapis.com/css?family=Roboto:400,100,300,500"> -->
    <link rel="stylesheet"
          href="assets/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="assets/css/form-elements.css">
    <link rel="stylesheet" href="assets/css/style.css">
    <%
        /********** 保存网站的基本路径 ***********/
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
                + path + "/";
        //将该路径地址缓存到 session中 ,例如：http://localhost:8090/tjnu_ssh_1128/
        session.setAttribute("mybasePath", basePath);
    %>
    <script src="${mybasePath}assets/layui/layui.js" charset="utf-8"></script>
</head>
<body>
<script type="text/javascript">
    if('${result}'){
        if('${result}'==2){
            layer.msg("操作成功！",{
                icon: 6
                ,btn: ["知道了"]
                ,btnAlign:"c"
            });
        }
        if ('${result}'==1){
            layer.msg("操作失败！",{
                icon: 5
                ,btn: ["知道了"]
                ,btnAlign:"c"
            });
        }
    }
</script>
<jsp:include page="../include/head.jsp" />
<jsp:include page="../include/menu.jsp" />
<div id="page-wrapper" style="margin-top: 50px;">
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <div class="text-left">
                    <a href="/index">首页</a>&nbsp;&gt;&nbsp;<a href="/codeManageIndex" class="acts CurrChnlCls">编码管理</a>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <h3 class="text-left">功能列表</h3>
                <div class="col-md-12">
                    <div class="nav navbar-nav navbar-right">
                        <a href="">查看全部功能</a>
                    </div>
                </div>
            </div>
        </div>
        <hr />
        <br />
        <%--每一个div对应一个功能模块        --%>
        <div class="col-md-2">
                <div class="" style="width: 150px; height: 180px;" >
                    <div>
                        <a href="/codeChangeList">
                            <img alt="请检查网络，图片加载出现了一点小问题" src="/assets/img/functionImg/change.png"
                                 height="100" width="100" />
                            <div class="caption">
                                <p>编码修改申请</p>
                            </div>
                        </a>
                    </div>
                </div>
        </div>
        <div class="col-md-2">
            <div class="" style="width: 150px; height: 180px;" >
                <div>
                    <a href="/codeAbolishList">
                        <img alt="请检查网络，图片加载出现了一点小问题" src="/assets/img/functionImg/abolish.png"
                             height="100" width="100" />
                        <div class="caption">
                            <p>编码废除申请</p>
                        </div>
                    </a>
                </div>
            </div>
        </div>
        <div class="col-md-2">
            <div class="" style="width: 150px; height: 180px;" >
                <div>
                    <a href="/codeManageList">
                        <img alt="请检查网络，图片加载出现了一点小问题" src="/assets/img/functionImg/history.png"
                             height="100" width="100" />
                        <div class="caption">
                            <p>历史申请查询</p>
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!-- /. PAGE INNER  -->
</div>
<!-- /. PAGE WRAPPER  -->

</body>
<!-- Javascript -->
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/bootstrap/js/jquery.min.js"></script>
<script src="assets/js/jquery.backstretch.min.js"></script>
<!--不需要背景 <script src="assets/js/scripts.js"></script> -->
<!-- <script type="text/javascript">
	jQuery(document).ready(function() {

    $.backstretch("assets/img/backgrounds/1.jpg");

    });
    </script> -->
</html>
